package com.example.designPatterns.callback;

/**
 * @Title: CallBack
 * @Description: TODO
 * @Date 2019/8/8 17:46
 */
public class User implements IPerson {

    private CallBack callBack;

    @Override
    public void doSomething(CallBack callBack, String msg) {
        System.out.println("总经理让你做" + msg);
        callBack.phoneCall(msg + "做完了");
    }
}
